#ifndef MAINWINDOW_H
#define MAINWINDOW_H



#include <QMainWindow>



namespace Ui {
    class MainWindow;
}



class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    Ui::MainWindow *ui;

    void saveTabContent(int index);

protected slots:

    void onChanged();

private slots:
    void on_actionRename_triggered();
    void on_actionClose_Current_triggered();
    void on_actionXml_toggled(bool );
    void on_tabWidget_tabCloseRequested(int index);
    void on_actionQuit_triggered();
    void on_actionSave_triggered();
    void on_actionSave_As_triggered();
    void on_actionOpen_triggered();
    void on_actionNew_triggered();


    void on_actionFeat_triggered();
    void on_actionSkill_triggered();
    void on_actionAttribute_triggered();
    void on_actionSpecial_triggered();

};

#endif // MAINWINDOW_H
